/* Message Tray
---------------------------------------------*/

#message-tray {
    height: 64px;
    background: #666 url("img/message-tray-bg.png");
    background-position: 0 0;
    background-repeat: repeat;
    transition-duration: 1000; /* high value to prevent showing up in overview */
}

#message-tray:keyboard {
    background: rgba(0,0,0,0.85);
    transition-duration: 0;
}

#message-tray:overview {
    background: rgba(0,0,0,0.2);
    box-shadow: inset 0 0 2px rgba(0,0,0,0.6);
    border-top: 1px solid rgba(255,255,255,0.1);
    transition-duration: 0;
}

/* Notifications */

.notification {
    background-color: rgba(0,0,0,0.85);
    border-radius: 5px 5px 0 0;
    padding: 10px 10px 8px 10px;
    spacing-rows: 10px;
    spacing-columns: 10px;
}

.notification,
#notification-container {
    width: 34em;
}

.notification.multi-line-notification {
    padding-bottom: 10px;
}

.notification-unexpanded {
    min-height: 36px;
    height: 36px;
}

.notification-with-image {
    min-height: 159px;
}

.notification-scrollview {
    max-height: 10em;
    -st-vfade-offset: 24px;
}

.notification-scrollview:ltr > StScrollBar {
    padding-left: 10px;
}

.notification-scrollview:rtl > StScrollBar {
    padding-right: 10px;
}

.notification-body {
    spacing: 5px;
}

.notification-actions {
    spacing: 5px;
}

.notification-button {
    padding: .45em .8em;
    border-radius: 3px;
}

.notification-icon-button {
    padding: .45em;
    border-radius: 3px;
}

.notification-icon-button > StIcon {
    icon-size: 16px;
}

.secondary-icon {
    icon-size: 1.09em;
}

/* Hotplug */

.hotplug-transient-box {
    spacing: 5px;
}

.hotplug-notification-item {
    padding: .3em;
    border-radius: 3px;
}

.hotplug-notification-item-icon {
    icon-size: 24px;
    padding-right: .3em;
}

.hotplug-resident-box {
    spacing: 5px;
}

.hotplug-resident-mount {
    color: #ccc;
}

.hotplug-resident-mount:hover {
    color: #fff;
}

.hotplug-resident-mount-label {
    padding: 0 10px;
}

.hotplug-resident-mount-icon {
    icon-size: 24px;
}

.hotplug-resident-eject-icon {
    icon-size: 16px;
}

.hotplug-resident-eject-button {
    padding: .45em;
    border-radius: 3px;
}

/* Chat */

.chat-log-message {
    color: #888;
}

.chat-group-sent, 
.chat-group-received, 
.chat-group-meta {
    padding: 4px 0;
}

.chat-received {
    border: 1px solid rgba(255,50,50,0.5);
    border-top: none;
    border-right: none;
    border-bottom: none;
    padding-right: 2em;
    padding-left: 10px;
    text-align: left;
}

.chat-sent {
    border: 1px solid rgba(50,50,255,0.5);
    border-top: none;
    border-left: none;
    border-bottom: none;
    padding-left: 2em;
    padding-right: 10px;
    text-align: right;
}

.chat-meta-message {
    color: #666;
}

.subscription-message {
    font-style: italic;
}

/* Summary */

#summary-mode {
    padding: 0 3px;
    height: 56px;
    spacing: 6px;
}

.summary-boxpointer {
    -boxpointer-gap: 6px;
}

.summary-boxpointer .notification {
    background: transparent !important;
}

.summary-boxpointer #summary-right-click-menu {
    padding: .5em 1px;
    min-width: 200px;
}

.summary-notification-stack-scrollview {
    max-height: 18em;
    padding-top: 10px;
    padding-bottom: 10px;
}

.summary-notification-stack-scrollview:ltr {
    padding-right: 10px;
}

.summary-notification-stack-scrollview:rtl {
    padding-left: 10px;
}

.summary-source-button {
    border-radius: 4px;
    border: 1px solid transparent;
}

.summary-source-button:hover,
.summary-source-button:focus {
	background-gradient-direction: vertical;
	background-gradient-start: rgba(255,255,255,0.1);
	background-gradient-end: rgba(255,255,255,0.05);
	box-shadow: inset 0 0 2px rgba(255,255,255,0.1);
	border-color: rgba(0,0,0,0.1);
}

.summary-source-button:selected {
    background-gradient-direction: vertical;
	background-gradient-start: rgba(255,255,255,0.3);
	background-gradient-end: rgba(255,255,255,0.1);
	box-shadow: inset 0 0 2px rgba(255,255,255,0.3);
	border-color: rgba(0,0,0,0.2);
}

.summary-source {
    padding-left: 3px;
    padding-right: 3px;
}

.summary-source-counter {
    background-image: url("img/summary-counter.svg");
    background-size: 2.5em;
    font-size: 10pt;
    font-weight: bold;
    height: 2.5em;
    width: 2.5em;
    -shell-counter-overlap-x: 4px;
    -shell-counter-overlap-y: 4px;
}

